package main

import "fmt"

func fool(a int, b string) int {
	fmt.Println("a=", a, "b=", b)
	c := a + 300
	return c
}

func fool2(a int, b string) (int, int) {
	fmt.Println("a=", a, "b=", b)
	return 77, 88
}

func fool3(a int, b float32) (res1 int, res2 int) {
	fmt.Println("a=", a, "b=", b)
	res1 = 1000
	res2 = 3000
	return
}

func fool4(a, b int) (res1, res2 int) {
	fmt.Println("a=", a, "b=", b)
	res1 = 10100
	res2 = 3020
	return
}

func main() {
	c := fool(100, "hello world")
	fmt.Println("c =", c)
	i, i2 := fool2(12, "123")
	fmt.Println("i =", i, "i2=", i2)
	res1, res2 := fool3(99, 88)
	fmt.Println("res1 =", res1, "res2 =", res2)
	res3, res4 := fool4(9, 8)
	fmt.Println("res3 =", res3, "res4 =", res4)
}
